package com.ruoyi.thirdpartyaccounts.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 第三方账号对象 thirdpartyaccounts
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
public class Thirdpartyaccounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 第三方唯一标识 */
    private Long thirdPartyId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 第三方 */
    @Excel(name = "第三方")
    private String thirdProvider;

    /** 第三方用户id */
    @Excel(name = "第三方用户id")
    private String providerUserid;

    public void setThirdPartyId(Long thirdPartyId) 
    {
        this.thirdPartyId = thirdPartyId;
    }

    public Long getThirdPartyId() 
    {
        return thirdPartyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setThirdProvider(String thirdProvider) 
    {
        this.thirdProvider = thirdProvider;
    }

    public String getThirdProvider() 
    {
        return thirdProvider;
    }
    public void setProviderUserid(String providerUserid) 
    {
        this.providerUserid = providerUserid;
    }

    public String getProviderUserid() 
    {
        return providerUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thirdPartyId", getThirdPartyId())
            .append("userId", getUserId())
            .append("thirdProvider", getThirdProvider())
            .append("providerUserid", getProviderUserid())
            .toString();
    }
}
